package com.wx.tgp.designpattern.builderPattern.product;

/**
 * Created by Administrator on 2016/10/10.
 */
public class ConcreteBuilderB extends Builder {

    private Product product = new Product();

    @Override
    public void builderA() {
        product.addProduct("零件A");
    }

    @Override
    public void builderB() {
        product.addProduct("零件B");
    }

    @Override
    public Product getResult() {
        return product;
    }
}
